package com.example.campus_activity_backend.service;

import com.example.campus_activity_backend.domain.Class;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Hongxia
* @description 针对表【t_manager_class】的数据库操作Service
* @createDate 2023-11-17 14:32:36
*/
public interface ClassService extends IService<Class> {

    /**
     * 创建教学班
     * @param classes
     * @return 教学班id
     */
    public long addClass(Class classes);

    /**
     * 为教学班添加教师
     * @param teacherId
     * @param classId
     * @return
     */
    public boolean addTeacherForClass(Integer teacherId, Integer classId);
}
